package com.hainabo.mgcmall.dao;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.hainabo.mgcmall.model.DataDictOption;

/**
 * Created by surfingren on 2017/8/30.
 */
public interface DataDictOptionRepository extends PagingAndSortingRepository<DataDictOption, Long> {
	public List<DataDictOption> findByOptionNameAndDictId(String optionName, Long dictId);

	public List<DataDictOption> findByOptionValueAndDictId(String optionValue, Long dictId);
}
